package com.cppsu.cgx.libraryseatselection.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.annotation.Generated;

public class Floor implements Serializable {
    private Long id;

    private Long libraryId;

    @ApiModelProperty(value = "楼层号")
    private Integer floorNumber;

    @ApiModelProperty(value = "开放选座状态：1开放，0：不开放")
    private Integer openStatus;

    @ApiModelProperty(value = "座位行数")
    private Integer x;

    @ApiModelProperty(value = "座位列数")
    private Integer y;

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private static final long serialVersionUID = 1L;

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Long getId() {
        return id;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setId(Long id) {
        this.id = id;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Long getLibraryId() {
        return libraryId;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setLibraryId(Long libraryId) {
        this.libraryId = libraryId;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Integer getFloorNumber() {
        return floorNumber;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setFloorNumber(Integer floorNumber) {
        this.floorNumber = floorNumber;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Integer getOpenStatus() {
        return openStatus;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setOpenStatus(Integer openStatus) {
        this.openStatus = openStatus;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Integer getX() {
        return x;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setX(Integer x) {
        this.x = x;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Integer getY() {
        return y;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setY(Integer y) {
        this.y = y;
    }

    @Override
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", libraryId=").append(libraryId);
        sb.append(", floorNumber=").append(floorNumber);
        sb.append(", openStatus=").append(openStatus);
        sb.append(", x=").append(x);
        sb.append(", y=").append(y);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}